<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css">
        @import "${pageContext.request.contextPath}/assets/dojo/dojo/resources/dojo.css";
        @import "${pageContext.request.contextPath}/assets/dojo/dijit/themes/claro/claro.css";
		@import "${pageContext.request.contextPath}/assets/dojo/dojox/form/resources/CheckedMultiSelect.css";
		@import "${pageContext.request.contextPath}/assets/dojo/dojox/grid/enhanced/resources/EnhancedGrid_rtl.css";
		@import "${pageContext.request.contextPath}/assets/dojo/dijit/themes/claro/claro.css";
		@import "${pageContext.request.contextPath}/assets/dojo/dojox/grid/enhanced/resources/claro/EnhancedGrid.css";
		@import "${pageContext.request.contextPath}/assets/dojo/dojox/calendar/themes/claro/Calendar.css";
		@import "${pageContext.request.contextPath}/assets/dojo/dojox/layout/resources/ExpandoPane.css";
		@import "${pageContext.request.contextPath}/assets/style/module.css";
		@import "${pageContext.request.contextPath}/assets/style/kijit.css";
		@import "${pageContext.request.contextPath}/assets/style/icon_s_admin.css";
		@import "${pageContext.request.contextPath}/assets/style/icon_s_collaboration.css";
		@import "${pageContext.request.contextPath}/assets/style/icon_s_office.css";
		@import "${pageContext.request.contextPath}/assets/kanas/resources/commonIcons16.css";
    </style>
	<script src="${pageContext.request.contextPath}/assets/appscript/dojoconfigbaseurl.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/assets/appscript/dojoconfig.js" type="text/javascript"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/assets/dojo/dojo/dojo.js" data-dojo-config="parseOnLoad: true,async:true,locale:'zh',isDebug: false"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/assets/kanas/kanas-base.js"></script>
</head>

<body class="claro loading" >
	<script type="text/javascript">
	//<![CDATA[
	    $ka.loading("load()");
		function load(){
			require(["dojo/ready","dojo/parser","dojo/i18n!appscript/locale/nls/Organization","appscript/Module",
			         "dojo/query!css2", "dijit/tree/ObjectStoreModel", "dijit/Tree","dijit/TitlePane","dojo/on","dijit/form/DateTextBox",
					"dojox/grid/enhanced/plugins/Menu","dijit/Menu","dijit/MenuItem","dijit/Tree","dojox/widget/DialogSimple","dijit/form/CheckBox",
					"dojo/_base/kernel","dojo/_base/loader","dijit/form/Button","dojo/store/Memory","dijit/Toolbar",
					"dijit/Toolbar","dijit/Dialog","dijit/form/Form","dijit/ProgressBar","dijit/form/Select",
	    			"dijit/form/Button","dijit/form/RadioButton","dijit/form/CheckBox","dijit/form/ValidationTextBox",
	    			"dojox/data/QueryReadStore","dojox/grid/DataGrid","dojox/layout/ExpandoPane",
					"dijit/layout/BorderContainer","dijit/layout/ContentPane","dijit/layout/TabContainer","dojox/layout/ContentPane","dijit/layout/StackContainer",
					"dojox/calendar/Calendar","dojox/grid/DataGrid","dojo/store/Observable"
					],
				function(ready,parser,i18n,module){
					if(typeof Organization ==="undefined"){
						Organization={
							_resource:i18n,
				    		init:function(){
				    			module.nodeLoaded(document.body);
				    			var w;
				    			w = dijit.byId("ext_calendar");
				    	    	if(w)w.set("title","&nbsp; "+$ksub(module.commonResource.operManagement,[Organization._resource.calendar])+" &nbsp;");
				    			dijit.byId("mainext").resize();
				    			w = dijit.byId("ext_organization");
				    			if(w)w.set("title","&nbsp; "+$ksub(module.commonResource.operManagement,[Organization._resource.organization])+" &nbsp;");
				    			dijit.byId("mainext").resize();
				    	    }
					    };
			    	}
					ready(Organization.init);
			});
		}
	//]]>
	</script>
	<div data-dojo-type="dijit.layout.BorderContainer" data-dojo-prop="gutters:false" data-temp-attr="temp" style="display:none;width:100%;height:100%;padding:7px;">
		<div id="mainext" data-dojo-type="dijit/layout/TabContainer" data-dojo-props="tabPosition:'left-h',region:'center'" >
			<div id="ext_organization" data-dojo-type="dojox.layout.ContentPane"  data-dojo-props="iconClass:'icon_s_admin icon_s_admin_org',href:'../../organization/org/org.html'" >
			</div>
			<sec:authorize url="/cgi/app/module/organization/calendar.html">
				<div id="ext_calendar" data-dojo-type="dojox/layout/ContentPane"  data-dojo-props="iconClass:'icon_s_co icon_s_co_calendar',href:'../../organization/calendar/calendar.html'" >
				</div>
			</sec:authorize>
		</div>
	</div>
</body>
</html>